<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <link rel="stylesheet" href="./swiper-bundle.css">
    <style>
        * {
            padding: 0;
            margin: 0;
        }

        .swiper {
            width: 100px;
            height: 200px;

        }

        .one {
          
            /* border: 1px solid black; */
            color: white;
            font-size: 30px;
            text-align: center;
            line-height: 50px;
        }
       
        
        .box {
            background-color: blue;
            width: 300px;
            display: flex;
            margin: 0 auto;

        }
        img{
        width: 100%;
        height: 100%;
        }
        .s1{
            margin: 1px 5px ;
        }
    </style>
</head>

<body>



        <div class="box">
            <div class="swiper s1">
                <div class="swiper-wrapper">
                    <div class="swiper-slide one two"><img src="../js作业图/001.jpg" alt=""></div>
                    <div class="swiper-slide one"><img src="../js作业图/002.jpg" alt=""></div>
                    <div class="swiper-slide one"><img src="../js作业图/003.jpg" alt=""></div>
                    <div class="swiper-slide one"><img src="../js作业图/004.jpg" alt=""></div>
                </div>
            </div>
            <div class="swiper s1">
                <div class="swiper-wrapper">
                    <div class="swiper-slide one two"><img src="../js作业图/001.jpg" alt=""></div>
                    <div class="swiper-slide one"><img src="../js作业图/002.jpg" alt=""></div>
                    <div class="swiper-slide one"><img src="../js作业图/003.jpg" alt=""></div>
                    <div class="swiper-slide one"><img src="../js作业图/004.jpg" alt=""></div>
                </div>
            </div>
            <div class="swiper s1">
                <div class="swiper-wrapper">
                    <div class="swiper-slide one two"><img src="../js作业图/001.jpg" alt=""></div>
                    <div class="swiper-slide one"><img src="../js作业图/002.jpg" alt=""></div>
                    <div class="swiper-slide one"><img src="../js作业图/003.jpg" alt=""></div>
                    <div class="swiper-slide one"><img src="../js作业图/004.jpg" alt=""></div>
                </div>
            </div>
        </div>
       
        
    

    <script src="./swiper-bundle.js"></script>
    <script>
        var mySwiper = new Swiper('.swiper', {
            autoplay: true,//可选选项，自动滑动
            direction: 'vertical',
            slidesPerView : 3,  
            // effect: 'cube',
            navigation: {
                nextEl: '.swiper-button-next',
                prevEl: '.swiper-button-prev',
            },
            loop: true,
            pagination: {
                el: '.swiper-pagination',
            },

        })
    </script>
</body>

</html>